package com.ruoyi.web.controller.exhibition.request;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 管理端端基础信息, 登录后缓存redis
 * 
 * @author lincm
 * @date 2022/11/11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(name = "BasicRequest", description = "管理端端基础信息, 登录后缓存redis")
public class BasicRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "编号")
    private Integer tableId;

    @Schema(name = "登录类型")
    private String loginType;

    @Schema(description = "租户编号")
    private Integer tenantId;

    @Schema(description = "系统用户编号")
    private Integer sysUserId;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "登录IP")
    private String loginIp;

    @Builder.Default
    @Schema(description = "当前页数，从1开始")
    private Integer pageNum = 1;

    @Builder.Default
    @Schema(description = "每页记录数")
    private Integer pageSize = 10;

}